API: Fix setnotificationtimestamp with no pages given
authorBrad Jorsch <bjorsch@wikimedia.org>
Sat, 4 May 2013 12:34:41 +0000 (08:34 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 1 Jul 2014 15:31:03 +0000 (11:31 -0400)
commit1552e7db72f9f839b736f802bda5553ba0d0833b
treec7869ca6df02579e5406757a1155031c47ecd92c
parent7234b48772da853c4fafb06c760207dd72051caf
API: Fix setnotificationtimestamp with no pages given

When newerthanrevid or torevid is used and no pages are given, do not
throw a fatal PHP error.

When no pages are given in other modes, do not return a database error.

Bug: 48071
Change-Id: I5abcdf0fa20486f1198d1cc111461b3088a311df
RELEASE-NOTES-1.24
includes/api/ApiSetNotificationTimestamp.php